package com.example.j2025_11_10.Model;

import lombok.Data;
import lombok.Getter;

import javax.swing.plaf.PanelUI;

//页数信息
@Data
public class PageInfo {
    private Integer currentPage = 1;
    private Integer pageSize = 10;

    private Integer offset;
    public int getOffset(){
        return (currentPage-1) * pageSize;
    }
}
